<!doctype html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Responsive image example</title>
  <style>
    img {
      max-width: 100%;
    }
  </style>
</head>

<body>

  <img alt="A white coffee mug on a bed of coffee beans"
       src="coffee-beans-small.jpg"
       srcset="coffee-beans-small.jpg 560w,
               coffee-beans-medium.jpg 800w,
               coffee-beans.jpg 1280w">

</body>
</html>
